import basic from './basic';
import type { RouteRecordRaw } from 'vue-router';
import vueFlow from '@/renderer/views/vue-flow/vue-flow.vue';
import homePage from '@/renderer/views/index.vue';
export const rootRoutes: Array<RouteRecordRaw> = [{
  path: '/',
  name: 'index',
  redirect: '/index',
  component: () => import('@/renderer/views/index.vue'),
  meta: {
    title: '首页',
  },
  children: [],
},
  {
    path: '/homePage',
    name: 'homePage',
    component:homePage,
    meta: {
      title: '大模型看板',
    },
    children: [],
  },


  {
  path: '/vue-flow',
  name: 'vueFlow',
  component: vueFlow,
  meta: {
    title: '流程图',
  },
  children: [],
}];

export const basicRoutes: Array<RouteRecordRaw> = [
    ...rootRoutes, ...basic,
];
